package com.skywolf.chem.customer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skywolf.chem.customer.entity.Signup;
import com.skywolf.chem.live.param.CourseDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课程报名表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-11-29
 */
@Mapper
public interface SignupMapper extends BaseMapper<Signup> {

    List<CourseDto> getCoursePageList(@Param("course") Integer course,@Param("startNum") Long startNum, @Param("endNum") Long endNum,
                                       @Param("uid") Long uid);

    Integer getCoursePageCount(@Param("course") Integer course,@Param("uid") Long uid);
}
